add weak entry definition
authorDavid Feng <[email protected]>
Sat, 14 Dec 2013 03:47:31 +0000 (11:47 +0800)
committerAlbert ARIBAUD <[email protected]>
Thu, 9 Jan 2014 15:08:15 +0000 (16:08 +0100)
Signed-off-by: David Feng <[email protected]>
include/linux/linkage.h

index 39c712eac5b912b6cd2bd1ece7abf17213125552..7435fcd0262bd4770159e1bd3ebf6d5a9444a54f 100644 (file)
        .globl SYMBOL_NAME(name); \
        LENTRY(name)
 
+#define WEAK(name) \
+       .weak SYMBOL_NAME(name); \
+       LENTRY(name)
+
 #ifndef END
 #define END(name) \
        .size name, .-name